package com.yuncheng.spcyApi.service.impl;

import com.yuncheng.common.base.service.impl.BaseServiceImpl;
import com.yuncheng.spcyApi.entity.SpcyZltxwjBasic;
import com.yuncheng.spcyApi.entity.SpcyZltxwjXgpxwj;
import com.yuncheng.spcyApi.mapper.SpcyZltxwjXgpxwjMapper;
import com.yuncheng.spcyApi.service.ISpcyZltxwjXgpxwjService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @author hua
 */
@Service
public class SpcyZltxwjXgpxwjServiceImpl extends BaseServiceImpl<SpcyZltxwjXgpxwjMapper, SpcyZltxwjXgpxwj> implements ISpcyZltxwjXgpxwjService {

    @Resource
    private SpcyZltxwjXgpxwjMapper spcyZltxwjXgpxwjMapper;

    @Override
    public SpcyZltxwjBasic selectTxwjBaseById(String id) {
        return spcyZltxwjXgpxwjMapper.selectTxwjBaseById(id);
    }

    @Override
    public List<SpcyZltxwjBasic> selectTxwjBaseListByFpidAndFuserid(String fpid, String fuserid) {
        return spcyZltxwjXgpxwjMapper.selectTxwjBaseListByFpidAndFuserid(fpid, fuserid);
    }

    @Override
    public List<SpcyZltxwjBasic> selectTxwjBaseListByFpidAndNullUserid(String fpid) {
        return spcyZltxwjXgpxwjMapper.selectTxwjBaseListByFpidAndNullUserid(fpid);
    }
}
